﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ScannerDemo
{
    public class ItemList
    {
        private string price;
        private string path="http://localhost/Mobile/picture/";
        //private string path = "http://192.168.1.105/Mobile/picture/";
        private string picture;
        public string Prices { get; set; }
        public string Id { get; set; }
        public string Name { get; set; } 
        public string Picture 
        {
            get
            {
                return picture;
            }
            set
            {
                picture = path + value;
            }
        }
        public string Quantity { get; set; }
        public string Price
        {
            get
            {
                return price;
            }
            set
            {
                price = value + " $";
            }
        }
        public string SumPrice
        {
            get
            {
                return Quantity +" x " + Price;
            }

        }
    }
}
